package com.backflash.client;

import java.io.Serializable;

 /**
  * Denna klas sparar information om meddelanden
  * @author Patrik
  *
  */
public class Message implements Serializable {

	String user;
	String time;
	String message;

	public Message(String user, String time, String message){
		this.user = user;
		this.time = time;
		this.message = message;
	}

	public Message(){}

	public String getMessage(){
		return message;
	}

	public String getTime(){
		return message;
	}

	public String getUser(){
		return user;
	}

	public void setMessage(String message){
		this.message = message;
	}

	public void setTime(String time){
		this.time = time;
	}

	public void setUser(String user){
		this.user = user;
	}

}
